/*
 * Created on 05.03.2004
 */
package ro.qi.framework.sys.repository;

/**
 * @author vlad lepadatu 
 */
public class JdbcDatasourceConfiguration extends DatasourceConfiguration {

	private String driver;
	private String url;
	private String username;
	private String password;

	/**
	 * @return
	 */
	public String getDriver() {
		return driver;
	}

	/**
	 * @return
	 */
	public String getPassword() {
		return password;
	}

	/**
	 * @return
	 */
	public String getUrl() {
		return url;
	}

	/**
	 * @return
	 */
	public String getUsername() {
		return username;
	}

	/**
	 * @param string
	 */
	public void setDriver(String string) {
		driver = string;
	}

	/**
	 * @param string
	 */
	public void setPassword(String string) {
		password = string;
	}

	/**
	 * @param string
	 */
	public void setUrl(String string) {
		url = string;
	}

	/**
	 * @param string
	 */
	public void setUsername(String string) {
		username = string;
	}

	/**
	 * @see ro.qi.framework.repository.DatasourceConfiguration#toString()
	 */
	public String toString() {
		return super.toString() + " driver=" + driver + ";url=" + url + ";username=" + username + ";password=" + password;
	}

}
